package com.hotel.sampleTool;

import java.util.List;

import com.hotel.BL.CancellationPolicyLogic;

import data.CancellationPolicy;

public class CancellationPolicySample extends RequestSampleData{
	
	@Override
	public void CreateSample() {
		CreateSample(1);
	}

	@Override
	public void CreateSample(int iteration) {
		List<CancellationPolicy> cps = new CancellationPolicyLogic().GenerateCancellationPolicy(1);
		for(CancellationPolicy a : cps)
			datastore.put(a.getEntity());
	}

}
